﻿using GDM.Hogar.Controles.Properties;

namespace GDM.Hogar.Controles.ControlesPersonalizados.Grilla
{
    // Create a cell class to display the Save button cells. It is derived from the
    // abstract class DataGridViewImageButtonCell. The only method that has to be
    // implemented is LoadImages to load the Normal, Hot and Disabled Save images.
    public class DataGridViewImageButtonEditCell : DataGridViewImageButtonCell
    {
        public override void LoadImages()
        {
            // The normal Save image
            ButtonImageNormal = Resources.edit;

            // The disabled Save image
            ButtonImageDisabled = Resources.edit;

            // The hot Save image
            ButtonImageHot = Resources.edit;
        }
    }
}